﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;

namespace MVCSoict.Controllers
{
	public class PermissionsController : Controller
	{
		public const int DEFAULEPAGESIZE = 10;
		//
		// GET: /Permissions/
		public ActionResult Index()
		{
			return View();
		}

		/// <summary>
		/// 
		/// </summary>
		/// <param name="role"></param>
		/// <returns></returns>
		public  string GetByRole( string param)
		{
			return "";
		}

		class GetByUserParam
		{
			public string UsernameKeyword;
			public string DepartmentKeyword;
		}
		public string GetByUser(string p)
		{
			return "";
		}

		public string SetPermission(string param)
		{

			return "";
		}

		public string SetMembership(string param)
		{
			return "";
		}

		public string UnsetMembership(string param)
		{
			return "";
		}

		public string UnsetPermission(string param)
		{
			return "";
		}

	}
}